package com.example.usb.ai;


import java.util.List;

/**
 * created by kun
 * 日期：2018/12/23
 * 描述：人脸搜索V3接口搜索到的bean
 */
public class SearchFaceBean {
    private int errorCode;
    private String errorMsg;
    private long log_id;
    private int timestamp;
    private int cached;
    private Result result;

    public int getErrorCode() {
        return errorCode;
    }

    public void setErrorCode(int errorCode) {
        this.errorCode = errorCode;
    }

    public String getErrorMsg() {
        return errorMsg;
    }

    public void setErrorMsg(String errorMsg) {
        this.errorMsg = errorMsg;
    }

    public long getLog_id() {
        return log_id;
    }

    public void setLog_id(long log_id) {
        this.log_id = log_id;
    }

    public int getTimestamp() {
        return timestamp;
    }

    public void setTimestamp(int timestamp) {
        this.timestamp = timestamp;
    }

    public int getCached() {
        return cached;
    }

    public void setCached(int cached) {
        this.cached = cached;
    }

    public Result getResult() {
        return result;
    }

    public void setResult(Result result) {
        this.result = result;
    }

    public class Result {
        private String face_token;
        private List<UserBean> user_list;

        public Result(String face_token, List<UserBean> user_list) {
            this.face_token = face_token;
            this.user_list = user_list;
        }

        public String getFace_token() {
            return face_token;
        }

        public void setFace_token(String face_token) {
            this.face_token = face_token;
        }

        public List<UserBean> getUser_list() {
            return user_list;
        }

        public void setUser_list(List<UserBean> user_list) {
            this.user_list = user_list;
        }

        public class UserBean {

            private String group_id;

            private String user_id;

            private String user_info;
            private double score;


            public void setGroupId(String groupId) {
                this.group_id = groupId;
            }

            public String getGroupId() {
                return group_id;
            }


            public void setUserId(String userId) {
                this.user_id = userId;
            }

            public String getUserId() {
                return user_id;
            }


            public void setUserInfo(String userInfo) {
                this.user_info = userInfo;
            }

            public String getUserInfo() {
                return user_info;
            }


            public void setScore(double score) {
                this.score = score;
            }

            public double getScore() {
                return score;
            }
        }
    }


}

